﻿

namespace XFramework
{

    /// <summary>
    /// 状态模板 具体状态只需要继承此类即可
    /// </summary>
    /// <typeparam name="T">拥有此状态的对象</typeparam>
    public class StateTemplates<T> : FsmBase where T : class
    {
        public T m_owner; //状态的拥有者方便后期调用

        public StateTemplates(E_state _state, T t) : base(_state)
        {
            this.m_owner = t;
        }
    }
}